
public class DoWhileStatement {
	/**
	 *	Problem Statement:
	 *		Assume that user Enter a number 'n'. 
	 *		1.	print number from 1 to 10
	 *		2.	print base numbers from 1 to 10
	 *
	 * Note:
	 * 		Observe the logic written in second and third for loop
	 */

	public static void main(String []args) {
		int i=1;
		do {
			
			System.out.print(" "+i++);
		}while(i<=10);
		
		int j=0;
		do {
			j+= 2;
			System.out.print(" "+j);
		}while(j<10);

	
	}
}
